package games.tetris;

import hardware.Display2D;

public class BrickHeap {

private static short [] [] heapData = new short[Display2D.getRowCount()] [Display2D.getColumnCount()];	
	




public void clear()
{
int rowCounter;
int columnCounter;


	for (rowCounter=0;rowCounter<heapData.length;rowCounter++)
		for (columnCounter=0;columnCounter<heapData[0].length;columnCounter++)
			{
			heapData[rowCounter][columnCounter]=0;
			}
}




public void draw()
{
	int rowCounter;
	int columnCounter;

	for (rowCounter=0;rowCounter<heapData.length;rowCounter++)
		for (columnCounter=0;columnCounter<heapData[0].length;columnCounter++)
			{
			Display2D.setPixel(rowCounter, columnCounter, heapData[rowCounter][columnCounter]);
			}	
	
	
}
	



}
